# -*- coding: utf-8 -*-
SERVER_PORT = 8999
AUTH_COOKIE_NAME="mooc-food"
DEBUG = False
SQLALCHEMY_ECHO = False
#过滤URL，登录的时候校验，如何遇到登录页面，自动忽略
IGNORE_URLS = [
    "^/user/login",
    "^/api",
]

#完全不需要校验
IGNORE_CHECK_LOGIN_URLS=[
    "^/static",
    "^/favicon.ico",
]

STATUS_MAPPING = {
    '1':'正常',
    '0':'已删'
}